/**
 * @author Yuliy Khorolinskyy
 *
 * Reaktionsspiel data
 *
 * 02.01.2012
 */
package data;

import javax.xml.bind.annotation.*;

/**
 * @author Yuliy
 *
 */
public class PossibleOption extends Entry {
	

	private String name;

	public String getDescription() {
		return description;
	}

	public int getReferenceNumber() {
		return referenceNumber;
	}

	private String description;

	private int referenceNumber;
	
	public void setReferenceNumber(int referenceNumber) {
		this.referenceNumber = referenceNumber;
	}
	
	public PossibleOption() {
		this("emptyToken");
	}

	public PossibleOption(String name) {
		this.name = name;
	}
	
	@Override
	public Object getEntryValue(int key) {
		switch(key){
		case 0: return this.name;
		case 1: return this.description;
			default: return null;
		}
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}
